package com.springweb.unit2.annotatedOrXml.impl;

import com.springweb.unit2.annotatedOrXml.CompactDisc;
import com.springweb.unit2.annotatedOrXml.MediaPlayer;

public class SecondCDPlayer implements MediaPlayer {
	private CompactDisc cd;

	public void setCd(CompactDisc cd) {
		this.cd = cd;
	}

	@Override
	public void play() {
		cd.play();
	}

}
